<?php
/**
 * 
 * @author tangbl
 *
 */
class IndexAction extends CommonAction{
	
	public function _initialize() {
		
		parent::_initialize();
		parent::checkMBAC();
		
	}
	
	public function index(){
		$model = D("User");
		$id    = session(C('USER_AUTH_KEY'));
		$data = $model->find($id);
		
		$this->assign("detail",$data);
		$this->display();
	}

}
